package com.chenxin.wms.service.impl;

import com.chenxin.wms.domain.WarehouseEntity;
import com.chenxin.wms.domain.vo.WarehouseVO;
import com.chenxin.wms.mapper.WarehouseMapper;
import com.chenxin.wms.service.IWarehouseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 仓库资料Service业务层处理
 *
 * @author gry
 * @date 2025-04-08
 */
@Service
public class WarehouseServiceImpl implements IWarehouseService {
    @Autowired
    private WarehouseMapper warehouseMapper;

    /**
     * 查询仓库资料列表
     *
     * @param warehouseEntity 仓库资料
     * @return 仓库资料
     */
    @Override
    public List<WarehouseVO> selectWarehouseList(WarehouseEntity warehouseEntity) {
        return warehouseMapper.selectWarehouseViewList(warehouseEntity);
    }
}
